package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hu-yf
 * @createTime 2022/4/6 13:22
 * @description 中台分类
 */
@Data
@TableName("admin_classified_management")
public class AdminClassifiedManagement implements Serializable {
    @TableId
    @ApiModelProperty("分类管理表id")
    private Long id;
    @ApiModelProperty("分类名称")
    private String classificationName;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("父id   为一级分类时父id为0")
    private Long parentId;
    @ApiModelProperty("分类描述")
    private String classificationDescription;
    @ApiModelProperty("状态  true启用 false禁用")
    private Boolean activate;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("是否删除 默认 0 未删除")
    @TableLogic(value = "0",delval="1")
    private Boolean disable;

}
